
#ifndef _MY_COMPONENT_H_
#define _MY_COMPONENT_H_
#include "xpcom-config.h"
#include "IMyComponent.h"
#include "ToolbarCallbackDecorator.h"
#include "MessageAction.h"

/*
 
libxpcomglue_s_nomozalloc.a
libmozalloc.dylib
libnspr4.dylib
libxpcom.dylib
libxpcomglue_s.a 
*/

class MyComponent : public IMyComponent
{
public:
    NS_DECL_ISUPPORTS
    NS_DECL_IMYCOMPONENT
    
    MyComponent();
    virtual ~MyComponent();
    
    
private:
    
    void* mainDelegate;
    
    ToolbarCallbackDecorator callbackDecorator;
    
    MessageAction msgAction;
    
    void* toolbar;
};


#endif //_MY_COMPONENT_H_